package com.ruoyi.bi.domain.portal;

import com.ruoyi.bi.domain.bireport.KpiDto;
import com.ruoyi.bi.domain.common.BaseEntity;
import com.ruoyi.bi.util.RSBIUtils;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BoxQuery extends BaseEntity {

	private String id;
	/** 通过 line-height 控制文字高度 */
	private Integer height;
	private String type;
	private String name;
	private String dsetId;
	private String dsid;
	private KpiDto kpiJson;
	private List<PortalParamDto> portalParams;
	private List<CompParamDto> params;
	@Override
	public void validate() {
		this.name = RSBIUtils.htmlEscape(this.name);
	}
}
